package cn.ibizlab.odoo.core.odoo_board.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_board.domain.Board_board;
import cn.ibizlab.odoo.core.odoo_board.filter.Board_boardSearchContext;

/**
 * 实体[Board_board] 服务对象接口
 */

public interface IBoard_boardService{
     boolean update(Board_board board_board) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void updateBatch(List<Board_board> board_boards, int batchSize) ;
     boolean remove(Integer id) ;
     boolean create(Board_board board_board) ;
     Board_board get(Integer id) ;
     Board_board get(Board_board board_board) ;
     void createBatch(List<Board_board> board_boards, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Board_board> searchDefault(Board_boardSearchContext context) ;

    /**
     * 转换ClientModel为Domain
     */
    public Board_board convert2Domain(cn.ibizlab.odoo.core.client.model.Iboard_board model ,Board_board domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iboard_board convert2Model(Board_board domain , cn.ibizlab.odoo.core.client.model.Iboard_board model);

}
